import Api from "../../../common/api/api.js"
export const StockHistoryApi = {
	//所有架类型
	findAll: params => {
	    return Api.httpGet(`/carbogie/all`);
	},
	//转向架编号传carbogieId
	 getCarBogieCode: params => {
	    return Api.httpGet(`/stockHistory/carBogie/${params.id}`);
	  },
	  //保存
	   addCarBogieOfFallingCourse: params => {
	      return Api.httpPost(`/stockHistory/carBogieOut/${params.ids}/${params.planId}`);
	},
}